<table>
<tr>
<td>
{% if vid %}
<table>
  <tr valign="top">
    <td valign="top">
    <table class="playbox">
      <tr>
        <th class="label" align="right">featured video
      <tr>
        <td align="center">
        <object width="425" height="355">
          <param name="movie" value="http://www.youtube.com/v/{{vid.id}}"></param>
          <embed SrC="http://www.youtube.com/v/{{vid.id}}"
            type="application/x-shockwave-flash" width="425" height="355"></embed></object>
      <tr>
        <td align="center">
        <a href="/a/{{site.path}}/acct/FavoriteVideo?id={{vid.id}}">mark as favorite</a>    
    </table>    
    <td valign="top">
    <table class="metadata">
      <tr>
        <th class="label" colspan="2">video details
      <tr>
        <td class="label">title:
        <td class="field">{{vid.title}}
      <tr>
        <td class="label">tags:
        <td class="field">{{vid.keywords}}
      <tr>
        <td class="label">description:
        <td class="field">{{vid.desc}}
    </table> 
</table>
{% endif %}
<table class="list">
	<tr>
		<th class="domainvidheader" align="right">{{ site.display_name|escape }} Videos
	<tr>
		<td>
		<div class="domainvids">{% for vid in domain_videos %}
		<div class="videoitem"><a href="/a/{{ site.path }}/PlayVideo?id={{vid.id}}"><img
			SrC="http://img.youtube.com/vi/{{vid.id}}/1.jpg" width=130 height=97
			alt="{{vid.title}}" title="{{vid.title}}" /></a></div>
		{% endfor %}</div>
</table>
<p>
<table class="list">
	<tr>
		<th class="backfillvidheader" align="right">YouTube Videos
	<tr>
		<td>
		<div class="backfillvids">{% for vid in backfill_videos %}
		<div class="videoitem"><a href="/a/{{ site.path }}/PlayVideo?id={{vid.id}}"><img
			SrC="http://img.youtube.com/vi/{{vid.id}}/1.jpg" width=130 height=97
			alt="{{vid.title}}" title="{{vid.title}}" /></a></div>
		{% endfor %}</div>
</table>
{% if previousurl %}
<div class='navlink'><a href="/a/{{ site.path }}{{ previousurl|escape }}">previous</a></div>
{% endif %}
<div class='navlink'><a href="/a/{{ site.path }}{{ nexturl|escape }}">next</a></div>
<td valign="top"> <script type="text/javascript"><!--
google_ad_client = "pub-[SETUP-adsense_client_id]";
/* instantvidsite skyscraper */
google_ad_slot = "[SETUP-adsense_slot_id]";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</table>
<a href="/about">about instantvidsite</a>
</body>
</html>